package com.culture.config.model.po;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.Range;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@Accessors(chain=true)
@NoArgsConstructor
public class PropertyUpdateParam {
	@NotNull(message="id can't be empty.")
	Long id;		
	@NotBlank(message="profile can't be empty.")
	String profile;
	@NotBlank(message="label can't be empty.")
	String label;
	@NotBlank(message="propertyKey can't be empty.")
	String propertyKey;
	String propertyValue;
	@Range(min=0,max=1,message = "must be 0 or 1")
	Integer valueType;
	String remark;
	@Range(min=0,max=1,message = "must be 0 or 1")
	Integer status;
}
